package com.zbs.framework.swagger.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties("framework.swagger")
public class SwaggerPropertySetting {
    public static boolean enableApi  =  true;
    public static boolean enableLog  =  false;

    public void setEnableApi(boolean enableApi) {
        SwaggerPropertySetting.enableApi = enableApi;
    }

    public void setEnableLog(boolean enableLog) {
        SwaggerPropertySetting.enableLog = enableLog;
    }
}
